<?php
header("content-type:text/html;charset=utf-8");
include "../public/config/config.php";
include "../public/include/funcs.php";
$link=conn($cfg_dbhost,$cfg_dbuser,$cfg_dbpwd,$cfg_dbname,$cfg_dbchar);
$id=$_GET['id'];
$xf_id=$_GET['xf_id'];

$re=del($link, "xiaofei","id=$xf_id");
if($re){
	echo "<script>";
//	echo "alert('删除成功！');";
	echo "window.location.href='showOne.php?id=".$id."';";
	echo "</script>";
}else{
	echo "删除失败，程序出错!";
}


?>